package com.ljx.rabbit.service;

import com.ljx.rabbit.domain.dto.ItemCommentDTO;
import com.ljx.rabbit.domain.dto.OrderDTO;
import com.ljx.rabbit.domain.dto.OrderPageDTO;
import com.ljx.rabbit.domain.po.Order;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ljx.rabbit.domain.vo.OrderPageVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2025-02-07
 */
public interface IOrderService extends IService<Order> {

    Order submitOrder(OrderDTO orderDTO);

    void payOrder(Long orderId);

    OrderPageVo getOrderPage(OrderPageDTO params);

    void cancelOrder(Long orderId);

    void delById(Long orderId);

    void confirmOrder(Long orderId);

    void commentItem(ItemCommentDTO itemCommentDTO);
}
